package org.blogwu.learn.multithread.chapter2.demo1;

public class Main {
    public static void main(String[] args) throws InterruptedException {
        Thread t1 = new Thread(new StopThreadUnSafe());
        Thread t2 = new Thread(new ReadThread());
        t1.start();
        t2.start();
        Thread.sleep(3000);
        t1.stop();
    }
}
